package com.ygq.Impl;

import VO.ChapterVO;
import com.ygq.ChapterService;
import mapper.ChapterMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChapterServiceImpl implements ChapterService {

    @Autowired
    private ChapterMapper chapterMapper;
    /**
     * 获取章节信息
     * @return
     */
    public List<ChapterVO> getChapter() {
        return chapterMapper.getChapter();
    }
}
